package soccer.view;

import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.border.TitledBorder;

public class ViewQA extends JFrame {
  private AddTeamPanel addTeamPanel;
  private TeamAddedVerifyPanel teamAddedVerifyPanel;
  private TeamSearchPanel teamSearchPanel;
  private AddPlayerTeamPanel addPlayerTeamPanel;
  private PlayerAddedVerifyPanel playerAddedVerifyPanel;
  private PlayerSearchPanel playerSearchPanel;
  private MatchSearchPanel matchSearchPanel;
  private AdminLoginPanel adminLoginPanel;
  private AdminCreatePanel adminCreatePanel;
  private MatchDetailPanel matchDetailPanel;
	
  private MatchResultEnterPanel matchResultEnterPanel;	
  private CoachSearchPanel coachSearchPanel;
  private AddCoachTeamPanel addCoachTeamPanel;
  private CoachAddedVerifyPanel coachAddedVerifyPanel;
  private UserOptionsPanel userOptionsPanel;
  private StatisticPanel statisticPanel;
  private PlayerStatisticPanel playerStatisticPanel;
  private TeamStatisticPanel teamStatisticPanel;
  private AddTeamMatchPanel addTeamMatchPanel;
  private MainOptionPanel mainOptionPanel;
  private AdminOptions adminOptions;	
	

	/**
	 * Create the frame.
	 */
	public ViewQA() {
		setBounds(100, 100, 819, 461);
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		getContentPane().setLayout(null);
		mainOptionPanel = new MainOptionPanel();
		matchDetailPanel = new MatchDetailPanel();
		matchSearchPanel = new MatchSearchPanel();
		playerSearchPanel = new PlayerSearchPanel();
		playerAddedVerifyPanel = new PlayerAddedVerifyPanel();
		adminCreatePanel=new AdminCreatePanel();
		adminLoginPanel = new AdminLoginPanel();
		addPlayerTeamPanel = new AddPlayerTeamPanel();
		teamSearchPanel = new TeamSearchPanel();
		addTeamPanel = new AddTeamPanel();
		teamAddedVerifyPanel = new TeamAddedVerifyPanel();
		coachSearchPanel =new CoachSearchPanel();
		addCoachTeamPanel =new AddCoachTeamPanel();
		addTeamMatchPanel = new AddTeamMatchPanel();
		adminOptions = new AdminOptions();
		coachAddedVerifyPanel=new CoachAddedVerifyPanel();
		addTeamPanel.setBorder(new TitledBorder(null, "New Team Add", TitledBorder.LEADING, TitledBorder.TOP, null, null));
		addTeamPanel.getAddTeamButton().setLocation(130, 240);
	    matchResultEnterPanel = new MatchResultEnterPanel();
	    userOptionsPanel = new UserOptionsPanel();
	    statisticPanel = new StatisticPanel();
	    playerStatisticPanel = new PlayerStatisticPanel();
	    teamStatisticPanel = new TeamStatisticPanel();
		setContentPane(mainOptionPanel);
		
	}
	
	public MainOptionPanel getMainOptionPanel() {
		return mainOptionPanel;
	}
	
	public AdminOptions getAdminOptions() {
		return adminOptions;
	}

	public void setAdminOptions(AdminOptions adminOptions) {
		this.adminOptions = adminOptions;
	}

	public void setMainOptionPanel(MainOptionPanel mainOptionPanel) {
		this.mainOptionPanel = mainOptionPanel;
	}

	public AddTeamMatchPanel getAddTeamMatchPanel() {
		return addTeamMatchPanel;
	}

	public void setAddTeamMatchPanel(AddTeamMatchPanel addTeamMatchPanel) {
		this.addTeamMatchPanel = addTeamMatchPanel;
	}

	public CoachAddedVerifyPanel getCoachAddedVerifyPanel() {
		return coachAddedVerifyPanel;
	}

	public void setCoachAddedVerifyPanel(CoachAddedVerifyPanel coachAddedVerifyPanel) {
		this.coachAddedVerifyPanel = coachAddedVerifyPanel;
	}

	public AdminCreatePanel getAdminCreatePanel() {
		return adminCreatePanel;
	}

	public void setAdminCreatePanel(AdminCreatePanel adminCreatePanel) {
		this.adminCreatePanel = adminCreatePanel;
	}

	public AddTeamPanel getAddTeamPanel() {
		return addTeamPanel;
	}

	
	public void setAddTeamPanel(AddTeamPanel addTeamPanel) {
		this.addTeamPanel = addTeamPanel;
	}


	public void setTeamAddedVerifyPanel(TeamAddedVerifyPanel teamAddedVerifyPanel) {
		this.teamAddedVerifyPanel = teamAddedVerifyPanel;
	}


	public TeamAddedVerifyPanel getTeamAddedVerifyPanel() {
		return teamAddedVerifyPanel;
	}

	public void setTeamSearchPanel(TeamSearchPanel teamSearchPanel) {
		this.teamSearchPanel = teamSearchPanel;
	}

	public TeamSearchPanel getTeamSearchPanel() {
		return teamSearchPanel;
	}

	public void setAddPlayerTeamPanel(AddPlayerTeamPanel addPlayerTeamPanel) {
		this.addPlayerTeamPanel = addPlayerTeamPanel;
	}

	public AddPlayerTeamPanel getAddPlayerTeamPanel() {
		return addPlayerTeamPanel;
	}

	public PlayerAddedVerifyPanel getPlayerAddedVerifyPanel() {
		return playerAddedVerifyPanel;
	}

	public void setPlayerAddedVerifyPanel(
			PlayerAddedVerifyPanel playerAddedVerifyPanel) {
		this.playerAddedVerifyPanel = playerAddedVerifyPanel;
	}

	public void setPlayerSearchPanel(PlayerSearchPanel playerSearchPanel) {
		this.playerSearchPanel = playerSearchPanel;
	}

	public PlayerSearchPanel getPlayerSearchPanel() {
		return playerSearchPanel;
	}

	public void setMatchSearchPanel(MatchSearchPanel matchSearchPanel) {
		this.matchSearchPanel = matchSearchPanel;
	}

	public MatchSearchPanel getMatchSearchPanel() {
		return matchSearchPanel;
	}
	
    

	public void setAdminLoginPanel(AdminLoginPanel adminLoginPanel) {
		this.adminLoginPanel = adminLoginPanel;
	}

	public AdminLoginPanel getAdminLoginPanel() {
		return adminLoginPanel;
	}

	public void setMatchDetailPanel(MatchDetailPanel matchDetailPanel) {
		this.matchDetailPanel = matchDetailPanel;
	}

	public MatchDetailPanel getMatchDetailPanel() {
		return matchDetailPanel;
	}

	public CoachSearchPanel getCoachSearchPanel() {
		return coachSearchPanel;
	}

	public void setCoachSearchPanel(CoachSearchPanel coachSearchPanel) {
		this.coachSearchPanel = coachSearchPanel;
	}

	public AddCoachTeamPanel getAddCoachTeamPanel() {
		return addCoachTeamPanel;
	}

	public void setAddCoachTeamPanel(AddCoachTeamPanel addCoachTeamPanel) {
		this.addCoachTeamPanel = addCoachTeamPanel;
	}

	public void setMatchResultEnterPanel(MatchResultEnterPanel matchResultEnterPanel) {
		this.matchResultEnterPanel = matchResultEnterPanel;
	}

	public MatchResultEnterPanel getMatchResultEnterPanel() {
		return matchResultEnterPanel;
	}

	public void setUserOptionsPanel(UserOptionsPanel userOptionsPanel) {
		this.userOptionsPanel = userOptionsPanel;
	}

	public UserOptionsPanel getUserOptionsPanel() {
		return userOptionsPanel;
	}

	public void setStatisticPanel(StatisticPanel statisticPanel) {
		this.statisticPanel = statisticPanel;
	}

	public StatisticPanel getStatisticPanel() {
		return statisticPanel;
	}

	public void setPlayerStatisticPanel(PlayerStatisticPanel playerStatisticPanel) {
		this.playerStatisticPanel = playerStatisticPanel;
	}

	public PlayerStatisticPanel getPlayerStatisticPanel() {
		return playerStatisticPanel;
	}

	public TeamStatisticPanel getTeamStatisticPanel() {
		return teamStatisticPanel;
	}

	public void setTeamStatisticPanel(TeamStatisticPanel teamStatisticPanel) {
		this.teamStatisticPanel = teamStatisticPanel;
	}
}



